POV-Ray : Newsgroups : povray.general : Parse Warning: Camera vectors are not perpendicular. : Re: Parse Warning: Camera vectors are not perpendicular. Server Time
2 Aug 2024 06:20:27 EDT (-0400)
  Re: Parse Warning: Camera vectors are not perpendicular.  
From: Sascha Ledinsky
Date: 9 Mar 2005 04:03:35
Message: <422ebbe7$1@news.povray.org>
Thank you!

To be honest, I did not know how to quickly check if the matrix is 
correct, and since the resulting images looked right... :-/

I have found the problem: The quaternion used to compute the matrix uses 
single precision floats. The fix was to first create a double-precision 
quaternion from it, then re-normalize that and feed the double-precision 
quaternion into the matrix...

Thanks again!

But still, isn't the test POV performs too strict?
I understand that POV-Ray must use double precision math for most 
operations, but would, in this case, the single-precision matrix really 
break the vista buffer?
This will enforce all external applications that are used to create 
POV-scenes to use double-precision math throughout, and I don't know if 
it is available in all (script) languages...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.